IritPrsrCoerceObjectTo

Section: C Library Functions (3)
Updated: IRIT Version 6.0
Index Return to Main Contents
 

NAME

IritPrsrCoerceObjectTo()  

SYNOPSIS

prsr_lib/coerce.c:119

IPObjectStruct *IritPrsrCoerceObjectTo(IPObjectStruct *PObj, int NewType)
 

DESCRIPTION

Coerces an object to a new object. Points, vectors, control points and planes can always be coerced between themselves using this routine by specifying the new object type desired such as IP_OBJ_PLANE or control point type like CAGD_PT_E4_TYPE. Control points of curves and surfaces may be coerced to a new type by prescribing the needed point type as NewType, such as CAGD_PT_P2_TYPE.  

PARAMETERS:

PObj: Object to coerce.

NewType: New type which can be object type like IP_OBJ_VECTOR or point type like E2.  

FUNCTION RETURN VALUE

IPObjectStruct *: Newly coerced object.

 

ORIGIN

(C) Copyright 1989/90-95 Gershon Elber, Technion, IIT


 

Index

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS:
FUNCTION RETURN VALUE
ORIGIN

This document was created by man2html, using the manual pages.
Time: 07:27:15 GMT, October 17, 2022